package cn.itrip.dao.mapper;

import cn.itrip.beans.pojo.ItripComment;
import cn.itrip.beans.vo.comment.ItripScoreCommentVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface ItripCommentMapper extends BaseMapper<ItripComment> {
    ItripScoreCommentVO getHotelScore(@Param("hotelId") String hotelId);

    Map<String, Object> getCount(@Param("hotelId") Integer hotelId);
}